package org.hegang.design.first.bridgepattern;

/**
 * @ClassName Shape
 * @Describe: 创建抽象类Shape，封装DrawAPI
 * @Author: gang.he
 * @Email: SmileSkylife@outlook.com
 * @Date: Created in 14:57 2019/8/15
 * @Modified_By: TODO
 * @Version: V1.0
 */
public abstract class Shape {
    protected DrawAPI drawAPI;
    protected Shape(DrawAPI drawAPI){
        this.drawAPI = drawAPI;
    }
    public abstract void draw();
}
